#include "thread.h"

Thread::Thread()
{

}
int Thread::num = 0;
 QMutex Thread::mutex ;
void Thread::run()
{

    for (int i = 0; i < 50000; i++)
    {
        mutex.lock();
        num++;
           mutex.unlock();
    }
}

